package com.trimps.wifi.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.trimps.wifi.pojo.Device;

public interface DevMapper {

	public int getDevCount();

	public List<Device> getAllDevice(@Param("currentPage") int currentPage,
			@Param("rowPerPage") int rowPerPage);

	public Device getDevById(@Param("id") int id);

	public int insert(@Param("dev") Device dev);

	public int delByNo(@Param("devNo") String devNo);
	
	public List<Device> getAllDevices();

	public Device getByDevNo(@Param("devNo") String devNo);

}
